package beanAction;

import java.util.ArrayList;

import model.RemlirSelects;

import com.opensymphony.xwork2.ActionSupport;

public class ChercherFonctionnaireAction  extends ActionSupport{

	RemlirSelects remplirslect=new RemlirSelects();
	private ArrayList<String> nomListt;	
	private ArrayList<String> nomLista;
public ArrayList<String> getNomListt() {
		return nomListt;
	}

	public void setNomListt(ArrayList<String> nomListt) {
		this.nomListt = nomListt;
	}

public String remplirAutoCp()
{
 //if(remplirslect.rempirAutocompiliter())
	System.out.println("yyyyyyyyyyyyy");
	nomLista=remplirslect.rempirAutocompiliter();
	setNomListt(nomLista);
  return"success";	
 //else
  //return"error";
}

}
